*---------------------------------------------------------------------------------------------------*
Appendix A CD-ROM
Author: Gavin Henry Graham
Date: 11/01/2014

It is hoped that the user will find this collection of research codes useful. However, the author does 
not accept any responsibility to anyone for the consequences of using the codes.
*---------------------------------------------------------------------------------------------------*

Copyright Declaration

The copyright of the codes on the Appendix A CD-ROM rests with the author and is made available 
under a Creative Commons Attribution Non-Commercial No Derivatives licence. Researchers are free 
to copy, distribute or transmit the codes on the condition that they attribute them, that they do not 
use them for commercial purposes and that they do not alter, transform or build upon them. For any reuse 
or redistribution, researchers must make clear to others the licence terms of this work.

*---------------------------------------------------------------------------------------------------*

Appendix A cD-ROM Overview

This Appendix contains 5 research codes. Each folder contains the executable file for the code, as 
well as a source code folder that contains the source files, including a Visual Studio solution file (.sln). 
If the user wishes to modify the code using the Visaul Studio IDE and has Visual Studio installed on 
their machine, simply load this file to view or modify the code. Alternatively, a separate text file (.txt) 
has been provided in the source code folder that the user can copy and paste into their FORTRAN IDE 
of choice. Additionally, example input files have been provided as well as a Readme text file. The 
Readme contains a description of the code as well as the inputs required on execution of the code  
and the outputs of the code.

In summary:

1. Clinoform-modelling algorithm:
Described in detail in Chapter 2 (p. 46 of the thesis) and used to generate clinoform surfaces and their 
Heterogenity Surfaces, based on simple user inputs to define the model volume and the geometry and 
distribution of the surfaces.

2. Create Facies Boundary Surfaces
Takes facies boundary surfaces from a non-clinoform bearing model and clinoform surfaces generated with 
the clinoform modelling algorithm, and uses these to create facies boundary surfaces within each 
clinothem.

3. Create Transmissibility Multiplier Grid Property
This code has been developed to take the barrier-covered Heterogeneity Surfaces generated by the 
clinoform-modelling algorithm and translate them into a transmissibility multiplier grid property 
in x, y, and/or z directions. More details on this method can be found in Section 3.7.3 (p. 118 of 
the thesis)

4. Re-order Heterogeneity Surfaces 
Takes Heterogeneity Surfaces ordered from 1 to n, and returns the mirror where surface n becomes 
surface 1 and surface 1 becomes surface n. 

5. Stochastic Parameter Generation
Returns stochastically generated parameters for the clinoform-modelling algorithm based on the user 
specified means and standard deviations for different normal distributions. See Table 2.1 (p. 54 of 
the thesis) for more information on which parameters have a stochastic component.


